package com.wocao.controller.uniapp;

import com.wocao.entity.ResponseResult;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 主页控制器
 */
@CrossOrigin
@RestController
@RequestMapping("uni-app")
public class HomeViewController {

    //获取oss签名
    @GetMapping("ossInfo")
    public ResponseResult<String> getOssInfo(){
        return ResponseResult.ok("成功");
    }


}
